package com.mlethe.android.demo.recyclerview.adapter;

import androidx.annotation.NonNull;

import com.mlethe.android.demo.R;
import com.mlethe.library.recyclerview.adapter.BaseQuickAdapter;
import com.mlethe.library.recyclerview.viewholder.ViewHolder;

public class SimpleAdapter extends BaseQuickAdapter<String> {
    public SimpleAdapter() {
        super(R.layout.item_recycler_view_adapter_text);
    }

    @Override
    protected void convert(@NonNull ViewHolder holder, String item, int position) {
        holder.setText(R.id.text_view, item);
    }
}
